<?php /*a:1:{s:54:"D:\wwwroot\www.91fh.cc\app\admin\view\article\add.html";i:1604667811;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章管理</title>
    <link rel="stylesheet" href="/public/static/admin/component/pear/css/pear.css" />
</head>
<body class="pear-container">
<form class="layui-form layui-form-pane" action="">
<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
        <li class="layui-this">文章编辑</li>
        <li>基础信息</li>
        <li>标签关联</li>
        <button type="submit" id="save" class="layui-btn" lay-submit="" lay-filter="save" style="float: right;margin-right: 10px;margin-bottom: 5px;height: 33px;line-height: 33px;">立即提交</button>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <div class="layui-form-item">
                <label class="layui-form-label">文章标题</label>
                <div class="layui-input-block">
                    <input type="text" name="article_title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <textarea name="article_content" id="edit"></textarea>
        </div>
        <div class="layui-tab-item layui-col-md6 layui-col-md-offset2">
            <div class="layui-form-item">
                <div class="layui-upload-drag" id="image_upload">
                    <i class="layui-icon"></i>
                    <p>点击或拖拽上传，文章封面</p>
                    <div class="layui-hide" id="uploadDemoView">
                        <img src="" alt="上传成功后渲染" style="max-width: 196px;margin-top: 15px">
                        <input type="hidden" name="article_image_cover" id="article_image_cover" autocomplete="off">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">文章作者</label>
                <div class="layui-input-block">
                    <input type="text" name="article_author" placeholder="默认后台管理员用户名" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">文章分类</label>
                <div class="layui-input-block">
                    <input type="text" name="pid" value="0" id="tree" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">发布状态</label>
                <div class="layui-input-block">
                    <input type="checkbox" checked="" name="status" lay-skin="switch" lay-filter="switchTest">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">SEO关键字</label>
                <div class="layui-input-block">
                    <textarea name="seo_keywords" placeholder="请输入SEO关键词，请使用逗号隔开" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-btn-container" style="margin-top: 10px">
                <button type="button" id="" class="layui-btn layui-btn-sm">
                    <i class="layui-icon">&#xe608;</i> 添加
                </button>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">SEO描述</label>
                <div class="layui-input-block">
                    <textarea name="seo_description" placeholder="请输入SEO描述，内容请不要超过100字" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-btn-container" style="margin-top: 10px">
                <button type="button" id="" class="layui-btn layui-btn-sm">
                    <i class="layui-icon">&#xe608;</i> 添加
                </button>
            </div>
        </div>
        <div class="layui-tab-item">
            <div class="layui-form-item">
                <div class="layui-card">
                    <div class="layui-card-header">自定义标签</div>
                    <div class="layui-card-body">
                        <div class="layui-btn-container tag" lay-filter="demo" lay-allowclose="true" lay-newTag="true">
                        </div>
                        <div class="layui-btn-container">
                            <button type="button" id="autoGetTags" class="layui-btn layui-btn-sm">
                                <i class="layui-icon">&#xe608;</i> 添加
                            </button>
                        </div>
                    </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header">标签穿梭</div>
                    <div class="layui-card-body">
                        <div id="test1"></div>
                        <div class="layui-btn-container" style="margin-top: 10px">
                            <button type="button" id="autoGetKeywords" class="layui-btn layui-btn-sm">
                                <i class="layui-icon">&#xe608;</i> 添加
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</form>
<script src="/public/static/admin/component/layui/layui.js"></script>
<script src="/public/static/admin/component/pear/pear.js"></script>
<script src="/public/static/admin/js/article/add.js"></script>
</body>
</html>
